package com.crm.dao.mapper.trainingManager;

import com.crm.model.entity.trainingManager.TrainingContact;
import com.crm.model.entity.trainingManager.TrainingContactExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TrainingContactMapper {
    long countByExample(TrainingContactExample example);

    int deleteByExample(TrainingContactExample example);

    int deleteByPrimaryKey(String trainingContactId);

    int insert(TrainingContact record);

    int insertSelective(TrainingContact record);

    List<TrainingContact> selectByExample(TrainingContactExample example);

    TrainingContact selectByPrimaryKey(String trainingContactId);

    int updateByExampleSelective(@Param("record") TrainingContact record, @Param("example") TrainingContactExample example);

    int updateByExample(@Param("record") TrainingContact record, @Param("example") TrainingContactExample example);

    int updateByPrimaryKeySelective(TrainingContact record);

    int updateByPrimaryKey(TrainingContact record);
}